Class symantec.itools.db.beans.binding.editors.BindingWizardPlugin
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.binding.editors.BindingWizardPlugin

Object
   |
   +----symantec.itools.db.beans.binding.editors.BindingWizardPlugin

public class BindingWizardPlugin
extends Object
implements Plugin, ActiveVisualObjectListener, ActionListener

Version:
1.0 10/13/98
Author:
Hristo Tonev

Constructor Index

 o symantec.itools.db.beans.binding.editors.BindingWizardPlugin()
Default constructor

Method Index

 o actionPerformed(ActionEvent)
 o activeVisualObjectChanged(VisualObject)
This method is called when the active VisualObject in the property sheet has been changed.
 o destroy()
Before Visual Cafe exits, this method is called for every initialized plugin.
 o getPluginInfo()
Plugin info.
 o init()
This method is called by the Visual Cafe framework, after it successfully loads a plugin class and create an instance of it.
 o restore(InputStream, boolean)
Plugin persistence.
 o save(OutputStream, boolean)
Plugin persistence.

Constructors

 o BindingWizardPlugin
public BindingWizardPlugin()
Default constructor

Methods

 o actionPerformed
public void actionPerformed(ActionEvent evt)
 o activeVisualObjectChanged
public void activeVisualObjectChanged(VisualObject visualObject)
This method is called when the active VisualObject in the property sheet has been changed.

Parameters:
visualObject - the visual object currently selected.
 o destroy
public void destroy()
Before Visual Cafe exits, this method is called for every initialized plugin. The plugin should not perform any action after this method is called. In particular, threads created by the plugin must be destroyed.

 o getPluginInfo
public void getPluginInfo()
Plugin info. ** NOT YET IMPLEMENTED ** A place holder to obtain name, version and other info of a plugin.

 o init
public void init()
This method is called by the Visual Cafe framework, after it successfully loads a plugin class and create an instance of it. Access to Visual Cafe open API is granted during this initialization.

 o restore
public void restore(InputStream is,
                    boolean local)
Plugin persistence. This method is called by the Visual Cafe framework when restoring workspace information from the disk. This could happen when a project is opened or Visual Cafe is started, or a workspace is switched. A plug in might want to read any state information it might have saved earlier

Parameters:
is - the input stream from which to read the data
b - true for local workspace and false for global workspace
 o save
public void save(OutputStream os,
                 boolean local)
Plugin persistence. This method is called by the Visual Cafe framework when saving workspace information to the disk. This could happen when a project is closed or Visual Cafe is shutdown, or a workspace is switched. A plug in might want to save any state information it might have This information can be read back in the restore method when the framework loads the workspace.

Parameters:
os - the output stream to which data will be written
b - true for local workspace and false for global workspace

All Packages  Class Hierarchy  This Package  Previous  Next  Index